import Vue from 'vue'
import Vuex from 'vuex'
import search from './modules/search'
import cart from './modules/cart'
import browseRecord from './modules/browseRecord'
import collect from './modules/collect'
import user from './modules/user'
import buyList from './modules/buyList'

Vue.use(Vuex)

export default new Vuex.Store({
 	modules: {
 	search,
    cart,
    browseRecord,
    collect,
    user,
    buyList
  }
})